home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 8_5.lha / 8_5 / sscanf.c < prev    next >
Text File  |  1993-08-08  |  348b  |  19 lines

  1. * Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
  2. * The C++ Answer Book */
  3. * Tony Hansen */
  4. * All rights reserved. */
  5. / read a set of arguments from a string
  6. nt sscanf(const char *s, const char *fmt, ...)
  7.  
  8.    if (s)
  9. {
  10. va_list ap;
  11. va_start(ap, fmt);
  12. int ret = vsscanf(s, fmt, ap);
  13. va_end(ap);
  14. return ret;
  15. }
  16.  
  17.    return EOF;
  18.  
  19.